<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/12/18
  Time: 10:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="content-type" content="text/html" ;charset="gb2312">
    <title>CoolMeeting会议管理系统</title>
    <link rel="stylesheet" href="styles/common.css"/>
    <style type="text/css">

    </style>
</head>

<body>

<div class="page-content">
    <div class="content-nav">
        个人中心 > 参加的会议
    </div>
    <table class="listtable">
        <caption>我参加的会议：</caption>
        <tr class="listheader">

            <th>会议名称</th>
            <th>会议室名称</th>
            <th>会议开始时间</th>
            <th>会议结束时间</th>
            <th>会议预定时间</th>
            <th>预订者</th>
            <th>操作</th>
        </tr>
        <form action="${pageContext.request.contextPath}/SelectByNameMeetingManServlet">

            <c:if test="${! empty(meetings)}">

                <c:forEach items="${meetings}" var="meeting">
                    <tr>

                        <td>${meeting.getMeetingname()}</td>
                        <td>${meeting.getMeetingRoom().getRoomname()}</td>
                        <td>${meeting.getBegintime()}</td>
                        <td>${meeting.getEndtime()}</td>
                        <td>${meeting.getReservationtime()}</td>
                        <td>${meeting.getEmployee().getEmployeename()}</td>

                        <td>
                            <a class="clickbutton"
                               href="${pageContext.request.contextPath }/AllAttributeServlet?meetingname=${meeting.getMeetingname()}">查看详情</a>

                        </td>
                    </tr>
                </c:forEach>
            </c:if>
        </form>
        </tr>
    </table>
</div>

</body>

</html>
